# browsershots.org - Test your web design in different browsers
# Copyright (C) 2008 Johann C. Rocholl <johann@browsershots.org>
#
# Browsershots is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Browsershots is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Browsershots. If not, see <http://www.gnu.org/licenses/>.

"""
URLconf for the factories app.
"""

__revision__ = "$Rev: 3166 $"
__date__ = "$Date: 2008-09-22 20:03:45 +0000 (Mon, 22 Sep 2008) $"
__author__ = "$Author: johann $"

from django.conf.urls.defaults import *
from shotserver05.factories import views

urlpatterns = patterns('factories/',
    url(r'^$', views.index),
    url(r'^create/$', views.create),
    url(r'^create/validate/(?P<field>\S+)/$', views.create_validate),
    url(r'^(?P<name>\S+)/$', views.details),
)
